package com.gateway.config;
import com.gateway.filters.CorsFilter;
import com.gateway.filters.JWTFilter;
import com.gateway.filters.MyFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author :
 * @program :
 * @description :
 **/
@Configuration
public class ZuulConfig {

    @Bean
    public MyFilter initMyFilter(){
        return new MyFilter();
    }

//    @Bean
//    public CorsFilter corsFilter(){
//        return new CorsFilter();
//    }
//
//    @Bean
//    public JWTFilter jwtFilter(){
//        return new JWTFilter();
//    }

}
